package top.jiangqiang.qyblog.core.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import top.jiangqiang.qyblog.common.base.query.PageCondition;

import java.io.Serial;

@Data
@Schema(name = "文章列表查询参数", description = "")
public class ArticleQueryDto extends PageCondition {
    @Serial
    private static final long serialVersionUID = 1L;
    @Schema(description = "文章标题")
    private String title;

    @Schema(description = "文章状态，1：待发布 2：已发布")
    private Integer status;

    @Schema(description = "查询指定标签下的文章")
    private Long tagId;

    @Schema(description = "查询指定分类下的文章")
    private Long categoryId;
}
